package app;

import com.vaadin.Application;
import com.vaadin.ui.Label;
import com.vaadin.ui.Window;
import ui.views.LoginView;

/** 
 *
 * @author Spyros
 * @version 
 */
public class MyApplication extends Application {
    
    private LoginView loginView;

    @Override
    public void init() {
        setTheme("mytheme");
        Window mainWindow = new Window("MyApplication");
        setMainWindow(mainWindow);
        Label label = new Label("Hello Vaadin user");
        mainWindow.addComponent(label);

        loginView = new LoginView();
        mainWindow.addComponent(loginView.init());

//        TestJAXBController tjaxbc = new TestJAXBController();
//        tjaxbc.execute();
    }
}
